package com.example.test003.pojo;

public class WeatherStation {
    private String detectedTime;
    private String windDirection;
    private String windSpeed;
    private String ambientTemperature;
    private String ambientHumidity;
    private String pressure;
    private String rainfall;

    public WeatherStation(String detectedTime, String windDirection, String windSpeed, String ambientTemperature, String ambientHumidity, String pressure, String rainfall) {
        this.detectedTime = detectedTime;
        this.windDirection = windDirection;
        this.windSpeed = windSpeed;
        this.ambientTemperature = ambientTemperature;
        this.ambientHumidity = ambientHumidity;
        this.pressure = pressure;
        this.rainfall = rainfall;
    }

    @Override
    public String toString() {
        return "WeatherStation{" +
                "detectedTime='" + detectedTime + '\'' +
                ", windDirection='" + windDirection + '\'' +
                ", windSpeed='" + windSpeed + '\'' +
                ", ambientTemperature='" + ambientTemperature + '\'' +
                ", ambientHumidity='" + ambientHumidity + '\'' +
                ", pressure='" + pressure + '\'' +
                ", rainfall='" + rainfall + '\'' +
                '}';
    }

    public String getDetectedTime() {
        return detectedTime;
    }

    public void setDetectedTime(String detectedTime) {
        this.detectedTime = detectedTime;
    }

    public String getWindDirection() {
        return windDirection;
    }

    public void setWindDirection(String windDirection) {
        this.windDirection = windDirection;
    }

    public String getWindSpeed() {
        return windSpeed;
    }

    public void setWindSpeed(String windSpeed) {
        this.windSpeed = windSpeed;
    }

    public String getAmbientTemperature() {
        return ambientTemperature;
    }

    public void setAmbientTemperature(String ambientTemperature) {
        this.ambientTemperature = ambientTemperature;
    }

    public String getAmbientHumidity() {
        return ambientHumidity;
    }

    public void setAmbientHumidity(String ambientHumidity) {
        this.ambientHumidity = ambientHumidity;
    }

    public String getPressure() {
        return pressure;
    }

    public void setPressure(String pressure) {
        this.pressure = pressure;
    }

    public String getRainfall() {
        return rainfall;
    }

    public void setRainfall(String rainfall) {
        this.rainfall = rainfall;
    }

    public WeatherStation() {
    }
}
